﻿using DevExpress.Mvvm;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WpfApp1.Models
{
    public class PanelViewModel : ViewModelBase
    {
        public string Key
        {
            get { return GetValue<string>(); }
            set { SetValue(value); }
        }
        public bool IsActive
        {
            get { return GetValue<bool>(); }
            set { SetValue(value); }
        }
        public string Caption
        {
            get { return GetValue<string>(); }
            set { SetValue(value); }
        }
        public object Content
        {
            get { return GetValue<object>(); }
            set { SetValue(value); }
        }
    }

    public class DocumentViewModel : PanelViewModel
    {
        public string Glyph
        {
            get { return GetValue<string>(); }
            set { SetValue(value); }
        }
    }
}
